import { createApp } from 'vue'
// import { createPinia } from 'pinia'

import App from '@/App.vue'
import router from '@/router'
import i18n from '@/i18n';
import globalMethods from '@/common/globalMethods'
import { addDataFmt } from './common/common'

import 'font-awesome/css/font-awesome.min.css'
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/js/bootstrap.bundle.min.js';
import '@/common/mock.js';
import '@/common/request.js';
import '@/assets/main.css'

addDataFmt();

const app = createApp(App)

// app.use(createPinia())
app.use(i18n)
app.use(router)
app.use(globalMethods)

app.mount('#app')
